DBVldEdit component

This object is an alternative for the DBEdit object. Added is an OnValidate event to check data before leaving 
the field.( the OnExit event is executed after leaving the field). It leaves the focus on the DBVldEdit field.
Tabbing  trough other fields (or controls) or clicking another object invokes the event to happen.
I
To insure that the validation can be overridden, a property CtlNames is created which is a list of controls that 
can be set that do not invoke the OnValidate event.(for instance an Cancel Button)  

Installation
 	Copy the files DBVEDIT.DCU and DBVEDIT.DCR to a library directory of your choice.
 	Choose from within the Delphi menu bar Options, Install components, Add and select the 
DBVEDIT.DCU file. Click OK and OK.
 	The component is now installed in the Specials panel.

Use of the DBVldEdit component
Just use the DBVldEdit as a normal DBEdit componen.
All normal DBEdit properties are valid. 
Additional Properties are
 	CtlNames		List of controls ignoring the OnValidate event.
 	Valid		Is True or False.
 	Required		Gets the value of the database. Can be set to TRUE to force filling out the field. If it is 
			TRUE in the database setting it FALSE is probably not wise.

Additional Events
  OnValidate		The procedure to check the Value of the field.

Demo Program
Enclosed is a demo:demo_ved.exe this program expects the test.db (also enclosed) to be in c:\delphi\test 
directory.
The OnValidate procedure is used on the field Code. When Trying to insert an Existing value a message appears.
Clicking the cancel no message appears.  
The message is shown through the MsgPanel object.
 
Registration
Registered users receive a copy of the source and a version for runtime. 

Registration trough SWREG (#11209)
Cost are US$10( sorry thats the minimum fee for SWREG). 
Registered users will receive updated versions when available.
Suggestions and comments on this object are always welcome !!!!!

Disclaimer

The use of this component is completely at your own risk (as always)
I am not responsible for any damage caused by the use of this component.


Sjef van der Velde
Vriendschapslaan 10
6544 AM  Nijmegen
The Netherlands,  
CompuServe 101651,2176

